package cw.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.Member;
import cw.entity.Team;

public interface MemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);
    
    List<Member> queryMember(@Param("name") String teamName,@Param("description") String description,@Param("identity") String identity,@Param("teamId") String teamId,@Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    Integer getTotal(@Param("name") String teamName,@Param("description") String description,@Param("identity") String identity,@Param("teamId") String teamId);
}